#include "matrix.hpp"
Go to the source code of this file.
Namespaces | |
namespace | gridpack |
namespace | gridpack::math |
namespace | gridpack::math::fallback |
Functions | |
template<typename T , typename I > | |
void | gridpack::math::fallback::diagonal (const MatrixT< T, I > &A, VectorT< T, I > &d) |
Get the diagonal from a Matrix and put in new Vector (fallback). | |
template<typename T , typename I > | |
MatrixT< T, I > * | gridpack::math::fallback::diagonal (const VectorT< T, I > &x, const MatrixStorageType &stype=Sparse) |
Make a diagonal Matrix from a Vector. | |
template<typename T , typename I > | |
void | gridpack::math::fallback::column (const MatrixT< T, I > &A, const I &cidx, VectorT< T, I > &c) |
Get a column from the Matrix and put in new Vector (fallback). | |
template<typename T , typename I > | |
void | gridpack::math::fallback::multiplyDiagonal (MatrixT< T, I > &A, const VectorT< T, I > &x) |
Multiply this matrix diagonal by the specified vector (fallback). | |
template<typename T , typename I > | |
void | gridpack::math::fallback::addDiagonal (MatrixT< T, I > &A, const VectorT< T, I > &x) |
Add the specified vector to the diagonal of this matrix (fallback). | |
template<typename T , typename I > | |
void | gridpack::math::fallback::denseMatrixMultiply (const MatrixT< T, I > &A, const MatrixT< T, I > &B, MatrixT< T, I > &C) |
template<typename T , typename I > | |
MatrixT< T, I > * | gridpack::math::fallback::denseMatrixMultiply (const MatrixT< T, I > &A, const MatrixT< T, I > &B) |